@isTest
private class OppDealerControllerTest {
    static testMethod void testMethod1() {


         Account acc = TestUtils.createAccount();
        acc.RecordTypeId = Utils.getRecordTypeIdByDevNameAndObjName('Dealer', 'Account');
        insert acc; 

        PageReference page = new pageReference('/apex/OppDealer?id='+acc.Id);
        System.Test.setCurrentPage(page);
        OppDealerController dc= new OppDealerController();
        dc.init();

        Map<String,String> saveMap =new Map<String,String>();
        saveMap.put('AccountId', acc.Id);

        dc.saveJson = EncodingUtil.urlEncode(JSON.serialize(saveMap), 'UTF-8');
        try {
            dc.save();
        }
        catch (Exception e) {
            
        }
        
        


        
    }
}